<?php
/* Smarty version 3.1.30, created on 2017-04-21 17:04:29
  from "D:\phpStudy\WWW\lybmvc\app\home\view\Index_v.php" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_58f9cb1db63f99_33071802',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '64f536ee31ff234671371ce579fb2c2f522f77e2' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\lybmvc\\app\\home\\view\\Index_v.php',
      1 => 1492765444,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:public/header.php' => 1,
  ),
),false)) {
function content_58f9cb1db63f99_33071802 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender("file:public/header.php", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>




      <!-- Jumbotron -->
      
    <div class="row">
      <div>
        <h2>欢迎会员来到吐槽区! </h2>
        <a href="../chengfa/logout.php">注销</a>
        <a href="../chengfa/lest.php">登录</a>
        <a href="../chengfa/register.php">注册</a>
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['res']->value, 'v');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
?>
        <div class="col-lg-4">
          <h2><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
</h2>
            <p class="text-danger"><?php echo $_smarty_tpl->tpl_vars['v']->value['content'];?>
</p>
            <p><?php echo $_smarty_tpl->tpl_vars['v']->value['author'];?>
</p>
            <span><?php echo date('Y-m-d H:i:s',$_smarty_tpl->tpl_vars['v']->value['addtime']);?>
</span>
            <p>
              <a class="btn btn-primary" href="index.php?m=home&c=Index&a=update&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
" role="button">修改</a>
              <a class="btn btn-primary" href="index.php?m=home&c=Index&a=delete&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
" role="button">删除</a>
            </p>
        </div>
        <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

      </div>
    </div>

 <footer class="footer">
        <p>我要吐槽，吐槽大会</p>
      </footer>
    <?php echo '<script'; ?>
 src="../../assets/js/ie10-viewport-bug-workaround.js"><?php echo '</script'; ?>
>
</div>
</body>
</html><?php }
}
